#ifndef Sprite_H
#define Sprite_H
#include "Node2D.h"
#include "RenderContext.h"
#include "Texture.h"
#include "SpriteBatch.h"
class Sprite: public Node2D
{
public:
	Sprite(void);
	~Sprite(void);
	void initWithFile(const char *filename,Size& size);
	void update();
	void draw(SpriteBatch* spriteBatch);
private:
	Texture* pTexture;

};
#endif


